Incremental Compositional Dynamic Test Generation

نویسندگان

  • Patrice Godefroid
  • Shuvendu K. Lahiri
  • Cindy Rubio-González
چکیده

Dynamic test generation consists of running a programwhile simultaneously executing the program symbolically in order to gather constrains on inputs from conditional statements encountered along the execution. Those constraints are then systematically negated and solved with a constraint solver, generating new test inputs to exercise different execution paths of the program. This process is repeated with the goal of exercizing many program paths and finding many bugs. This search process can be made compositional by memoizing symbolic execution sub-paths as test summaries that are re-usable during the search, resulting in a search algorithm that can be exponentially faster than a non-compositional one. By construction, symbolic test summaries are “must” summaries guaranteeing the existence of some program executions. In this paper, we consider the problem of statically validating symbolic test summaries against code changes. Summaries that are provably still valid using a static analysis of a new program version do not need to be retested or recomputed dynamically. In the presence of small code changes, incrementality can considerably speed-up regression testing since static checking is much cheaper than dynamic checking and testing. We propose a two-phase algorithm to statically check which old test summaries are still valid for a new program version. The first phase is based on a simple analysis of the static call-flow and control-flow graph of the program. The second phase checks remaining invalidated intraprocedural test summaries against new code using verificationcondition generation and automated theorem proving. We discuss challenges in validating must summaries statically and provide several checks with different guarantees. We present preliminary experimental results with three large Windows applications.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Statically Validating Must Summaries for Incremental Compositional Dynamic Test Generation

Compositional dynamic test generation can achieve significant scalability by memoizing symbolic execution sub-paths as test summaries. In this paper, we formulate the problem of statically validating symbolic test summaries against code changes. Summaries that can be proved still valid using a static analysis of a new program version do not need to be retested or recomputed dynamically. In the ...

متن کامل

The Effect of Feedback based on Inherent and Incremental Ability Theories on Dynamic Balance in Middle-aged Women

The aim of this study was to examine the effect of inherent and incremental ability theories feedback on dynamic balance in middle-aged women. 29 middle-aged women (age: 50-60) randomly assigned into two groups (inherent ability= 15 subjects, and incremental ability= 14 subjects). Both groups after the dynamic balance pretest (Timed Up and Go) received different instructions feedback. Immediate...

متن کامل

Incremental interpretation and dynamic semantics

The goal of this paper is to motivate and define a strictly incremental semantics for dynamic predicate logic (Groenendijk and Stokhof 1991). In particular, we will extend the incremental semantics for dynamic propositional logic introduced in Vermeulen (1994) to first-order predicate logic (borrowing central notions from Visser 2002). We call the resulting logical system Incremental Dynamic Pr...

متن کامل

A tile logic-based semantics for mobile software architectures

The paper deals with the specification of dynamic reconfiguration of complex systems. We show how dynamic reconfiguration and especially components mobility, affects the ongoing behaviour of the reconfigured parts and its side effects on the system as a whole. Our approach is based on software architectural viewpoint of hierarchical systems, considered as sets of independent components and link...

متن کامل

How to implement Statecharts intuitionistically

To the best of our knowledge, this is the first work to present an implementation of Lüttgen and Mendler’s intuitionistic characterisation of Pnueli and Shalev’s step construction. However, the original step construction is faster for most Statecharts, because a non-compositional approach will almost always outperform any compositional one. For incremental code-generation or compositional verif...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010